// components/HistoryBlock/Block.js
const App = getApp()
const uid = App.globalData.uid

Component({
    /**
     * 组件的属性列表
     */
    properties: {
        name: {
            type: String,
            valve: 'example'
        },
        man: {
            type: Object,
            value: {
                uid: '',
                oldmanId: '',
                time: '0000-0-00 00:00',
                oldmanAge: 0,
                oldmanName: 'example',
                oldmanSex: 0,
                community: 'example',
                services: {
                    test: false,
                    housekeeping: false,
                    nursing: false,
                    spirit: false
                }
            }
        }
    },

    /**
     * 组件的初始数据
     */
    data: {
        urlHistory: App.path.HistoryDetail,
        test: '/images/test.png',
        housekeeping: '/images/housekeeping.png',
        nursing: '/images/nursing.png',
        spirit: '/images/spirit.png',
        maleImg: '/images/male.png',
        femaleImg: '/images/female.png'
    },

    /**
     * 组件的方法列表
     */
    methods: {

    }
})
